package com.aaa.entity;

import java.io.Serializable;
import lombok.Data;

/**
 * Table: ums_contract
 */
@Data
public class UmsContract implements Serializable {
    /**
     * Table:     ums_contract
     * Column:    id
     * Nullable:  false
     */
    private Long id;

    /**
     * 签订者ID
     *
     * Table:     ums_contract
     * Column:    owner_id
     * Nullable:  false
     */
    private Long ownerId;

    /**
     * 合同类型
     *
     * Table:     ums_contract
     * Column:    type
     * Nullable:  true
     */
    private Integer type;

    /**
     * 合同模版ID
     *
     * Table:     ums_contract
     * Column:    template_id
     * Nullable:  false
     */
    private Long templateId;

    /**
     * json格式，具体格式跟合同模块对应
     *
     * Table:     ums_contract
     * Column:    content
     * Nullable:  true
     */
    private String content;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table ums_contract
     *
     * @mbg.generated Mon Jan 06 19:35:03 CST 2020
     */
    private static final long serialVersionUID = 1L;
}